﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.IRepository
{
    public interface ITeacherRepository
    {
        List<CMS.Model.Teacher> SelectAllTeacher(int pageIndex, int pageSize, out int rowCount);

        List<CMS.Model.Teacher> SelectAllTeacher();

        List<CMS.Model.Teacher> SelectTeacherById(int teacherId);

        void InsertTeacher(CMS.Model.Teacher teacherInstance);

        void DeleteTeacherById(int teacherId);

        void UpdateTeacher(CMS.Model.Teacher teacherInstance);
    }
}
